package speed;

public class ByteOrShort {
	public static void main(String[] args) {
		byte n1=3;
		short n2=3;
		System.out.println(n1);//区别在于byte只开辟了1字节的空间
		System.out.println(n2);//short开辟了两个字节的空间						   
	}

}
